package concurrencyPractice.chapter07;

import java.util.concurrent.*;

/**
 * @author xinya
 * @version 1.0
 * @project javacore
 * @description some description
 * @date 2024/1/5 17:32:36
 */
public interface CancellableTask<T> extends Callable<T> {
    void cancel();

    RunnableFuture newTask();
}